package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 荣誉资质附件对象 honer_management_attachment
 * 
 * @author ruoyi
 * @date 2023-07-19
 */
public class HonerManagementAttachment extends BaseEntity
 {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 荣誉资质id */
    @Excel(name = "荣誉资质id")
    private String honorId;

    /** 路径url */
    @Excel(name = "路径url")
    private String url;

    /** 原文件名 */
    @Excel(name = "原文件名")
    private String originalFilename;

    /** 新文件名 */
    @Excel(name = "新文件名")
    private String newFileName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHonorId(String honorId) 
    {
        this.honorId = honorId;
    }

    public String getHonorId() 
    {
        return honorId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setOriginalFilename(String originalFilename) 
    {
        this.originalFilename = originalFilename;
    }

    public String getOriginalFilename() 
    {
        return originalFilename;
    }
    public void setNewFileName(String newFileName) 
    {
        this.newFileName = newFileName;
    }

    public String getNewFileName() 
    {
        return newFileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("honorId", getHonorId())
            .append("url", getUrl())
            .append("originalFilename", getOriginalFilename())
            .append("newFileName", getNewFileName())
            .toString();
    }
}
